home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
net
/
telnet.readme
< prev
next >
Wrap
Text File
|
1994-10-08
|
3KB
|
60 lines
Short: AS225R2 telnet client
Author: mlelstv@serpens.rhein.de
Uploader: mlelstv@serpens.rhein.de
Type: comm/net
Left with an old braindamaged telnet client from the AS225R1 package and a pretty
minimal telnet client for the beta-AS225R2 I decided to write my own. The telnet
client is not complete to the telnet protocol specs but works fine with common
telnet servers (say on SunOS). One nice feature is that it supports both modes of
the CON: handler. It either uses cooked input (including the CON: handlers editing
and history features) or raw input depending on how the other side handles ECHO mode.
How to use:
TELNET HOST/A,PORT,DEBUG/S
HOST/A - required host name or IP number in dotted decimal notation
PORT - optional TCP port number or name (from db/services), default is
the "shell" port or 23.
DEBUG/S - generates lots of debugging output through debug.lib. You should
use Sushi to redirect this output away from the serial port (or
just not use this switch.. it is really for debugging only).
The telnet program looks for the environment or shell variable TERM to inform the
other side about your terminal type (unfortunately there is no provision for the
window size in the telnet protocol). If there is no TERM variable then the string
"amiga" is used.
You can interrupt the telnet program by inserting ^] (`control' plus `]') in the
input stream. In RAW mode this happens immediately. In CON mode you have to hit
return.
When interrupted you get a "> " prompt where you can enter a few commands. Any
unknown input (like just hitting return) will present you a menu with valid commands.
Currently four commands are recognized:
quit - terminate telnet session
esc - send the escape character ('^]') to the other side
raw - continue connection in RAW mode
con - continue connection in CON mode
Since you have to hit return when interrupting in CON mode this extra character is
stripped from the input IF it occurs directly after the interrupt character.
It is likely that this program also works with AmiTCP and the socket.library from
Henning Schmiedehausen (also on Aminet) but I didn't try it.
Michael van Elst
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2216 1129 49.0% 06-Sep-94 00:51:52 telnet.readme
7704 4710 38.8% 06-Sep-94 01:18:52 telnet
-------- ------- ----- --------- --------
9920 5839 41.1% 06-Sep-94 15:16:46 2 files